// Copyright (c) 2025 coze-dev Authors
// SPDX-License-Identifier: Apache-2.0
@black: #000000;

@text-gray-2: #1d1c2399;
@icon-color: #6b6b75;
@border-color: #1d1c2314;

.span-detail {
  height: 100%;
  padding: 12px 16px;
  border-left: 1px solid @border-color;

}

.copy-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 12px;
  height: 12px;

  color: @icon-color;
}

.span-detail-title {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;

  height: 32px;
  margin-bottom: 8px;

  .title-left {
    display: flex;
    gap: 4px;
    align-items: center;

    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: @black;

    .copy-icon {
      display: flex;
      align-items: center;
      justify-content: center;

      width: 16px;
      height: 16px;

      color: @icon-color;
    }
  }

  .title-right {
    font-size: 12px;
    line-height: 16px;
    color: @text-gray-2;
    text-align: right;
  }
}

.container {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  // padding: 20px 20px 0;
}

.icon-wrapper {
  width: 36px;
  height: 36px;

  svg {
    width: 100%;
    height: 100%;
  }
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-width: 0;
  padding: 16px 20px 8px;
}

.detail-title {
  display: flex;
  flex:1;
  gap: 6px;
  align-items: center;

  min-width: 0;

  font-size: 16px;
  font-weight: 500;
}

.detail-header-left {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.detail-header-item {
  cursor: pointer;

  display: flex;
  align-items: center;

  line-height: 12px;
  color: @text-gray-2;
}


.tab {
  display: flex;
  flex: 1;
  flex-direction: column;

  :global {
    .semi-tabs-content {
      flex: 1;
      padding-top: 0;
    }

    .semi-tabs-bar{
      padding-left: 20px;
    }

    .semi-tabs-pane {
      height: 100%;
    }

    .semi-tabs-pane-motion-overlay {
      height: 100%;
    }
  }
}

.tab-content {
  height: 100%;
}
